package com.hospital.wx.service.Impl;

import com.hospital.wx.dao.MedicalDeptSubDao;
import com.hospital.wx.service.MedicalDeptSubService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;

@Service
@Slf4j
public class MedicalDeptSubServiceImpl implements MedicalDeptSubService {

    @Autowired
    private MedicalDeptSubDao medicalDeptSubDao;

    @Override
    public ArrayList<HashMap> selectMedicalDeptSubList(int deptId) {
        return medicalDeptSubDao.selectMedicalDeptSubList(deptId);
    }

}
